import {createStore,combineReducers,applyMiddleware} from "redux"
import thunk from "redux-thunk"
import reducers from "../reducers/index.js"
// combineRecuders-整合多个reducer纯函数
const store = createStore(combineReducers(reducers),applyMiddleware(thunk))

export default store
